<script setup>
const props = defineProps({
  size: {
    typeof: String,
    default: 'small'
  }
})
</script>

<template>
  <button :class="[`pt-btn-${size}`]">
    <slot>按钮</slot>
  </button>
</template>

<style>
.pt-btn-small {
  padding: 8px 12px;
}
.pt-btn-large {
  padding: 12px 18px;
}
</style>
